using System;
using System.Collections.Generic;

namespace Xoohoo.Repositories.SqlServerEF.Entities
{
	public class Permission
	{
	    public Permission()
		{
			this.Roles = new List<Role>();
			this.Users = new List<User>();
		}

		public Nullable<System.Guid> ParentID { get; set; }
		public System.Guid PermissionID { get; set; }
		public string ModuleName { get; set; }
		public string PermissionName { get; set; }
		public int PermissionLevel { get; set; }
		public int DisplayOrder { get; set; }
		public virtual ICollection<Role> Roles { get; set; }
		public virtual ICollection<User> Users { get; set; }
	}
}

